{% extends "FOSUserBundle::layout.html.twig" %}

{% trans_default_domain 'FOSUserBundle' %}

{% block fos_user_content %}
{% if error %}
<div>{{ error|trans }}</div>
{% endif %}
<form id="form-signin" class="form-signin" action="{{ path("fos_user_security_check") }}" method="post">
    <section>
        <div class="input-group">
            <input type="hidden" name="_csrf_token" value="{{ csrf_token }}" />
            <input type="text" class="form-control" id="username" name="_username"  placeholder="Username">
            <div class="input-group-addon"><i class="fa fa-user"></i></div>
        </div>
        <div class="input-group">
            <input type="password" class="form-control" id="password" name="_password" placeholder="Password">
            <div class="input-group-addon"><i class="fa fa-key"></i></div>
        </div>
    </section>
    <section class="controls">
        <div class="checkbox check-transparent">
            <input type="checkbox"  id="remember_me" name="_remember_me" value="on" checked/>
            <label for="remember">Remember me</label>
        </div>
        <a href="#">Forget password?</a>
    </section>
    <section class="log-in">
        <button type="submit" class="btn btn-greensea">Log In</button>
    </section>
</form>
{% endblock fos_user_content %}
